<!--
 $ @Author: liujiajun 45444154+wo1261931780@users.noreply.github.com
 $ @Date: 2022-06-04 13:37:45
 $ @LastEditors: liujiajun 45444154+wo1261931780@users.noreply.github.com
 $ @LastEditTime: 2022-06-04 13:38:06
 $ @FilePath: \st-html.github.io\src\aaa002\a011audio标签.html
 $ @Description: 1111
 $ @
 $ @Copyright (c) 2022 by liujiajun 45444154+wo1261931780@users.noreply.github.com, All Rights Reserved.
 -->
<!DOCTYPE html>
<html lang="en">

    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible"
              content="IE=edge">
        <meta name="viewport"
              content="width=device-width, initial-scale=1.0">
        <title>Document</title>
    </head>

    <body>
        <p>现在开始测试音频标签</p>
        <audio src="../audio/demo.mp3"
               controls
               autoplay
               loop></audio>
        <!-- 好像所有的资源类标签，都有固定的几种属性 -->
        <!-- controls/autoplay/loop这三个属性直接可以使用，不需要多余增加true或者false -->
        <div>目前音频只支持mp3，wav，ogg三种音频格式</div>
        <!-- mp3是使用最多的，以后还是用这个比较好，避免出现兼容性问题 -->a
    </body>

</html>